package com.hjxr.xmgl.web.domain;


import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据函数注册运算对象 quota_table_data_function
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class QuotaTableDataFunction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 数据来源表1 */
    @Excel(name = "数据来源表1")
    private String srcTable1;

    /** 数据来源表字段1 */
    @Excel(name = "数据来源表字段1")
    private String srcField1;

    /** 数据来源表2 */
    @Excel(name = "数据来源表2")
    private String srcTable2;

    /** 数据来源表字段2 */
    @Excel(name = "数据来源表字段2")
    private String srcField2;

    /** 数据来源条件 */
    @Excel(name = "数据来源条件")
    private String srcWhere;

    /** 目标表 */
    @Excel(name = "目标表")
    private String distTable;

    /** 目标字段 */
    @Excel(name = "目标字段")
    private String distField;

    /** 更新条件 */
    @Excel(name = "更新条件")
    private String distWhere;

    /** 函数名称 */
    @Excel(name = "函数名称")
    private String functionName;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSrcTable1(String srcTable1)
    {
        this.srcTable1 = srcTable1;
    }

    public String getSrcTable1()
    {
        return srcTable1;
    }
    public void setSrcField1(String srcField1)
    {
        this.srcField1 = srcField1;
    }

    public String getSrcField1()
    {
        return srcField1;
    }
    public void setSrcTable2(String srcTable2)
    {
        this.srcTable2 = srcTable2;
    }

    public String getSrcTable2()
    {
        return srcTable2;
    }
    public void setSrcField2(String srcField2)
    {
        this.srcField2 = srcField2;
    }

    public String getSrcField2()
    {
        return srcField2;
    }
    public void setSrcWhere(String srcWhere)
    {
        this.srcWhere = srcWhere;
    }

    public String getSrcWhere()
    {
        return srcWhere;
    }
    public void setDistTable(String distTable)
    {
        this.distTable = distTable;
    }

    public String getDistTable()
    {
        return distTable;
    }
    public void setDistField(String distField)
    {
        this.distField = distField;
    }

    public String getDistField()
    {
        return distField;
    }
    public void setDistWhere(String distWhere)
    {
        this.distWhere = distWhere;
    }

    public String getDistWhere()
    {
        return distWhere;
    }
    public void setFunctionName(String functionName)
    {
        this.functionName = functionName;
    }

    public String getFunctionName()
    {
        return functionName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("srcTable1", getSrcTable1())
            .append("srcField1", getSrcField1())
            .append("srcTable2", getSrcTable2())
            .append("srcField2", getSrcField2())
            .append("srcWhere", getSrcWhere())
            .append("distTable", getDistTable())
            .append("distField", getDistField())
            .append("distWhere", getDistWhere())
            .append("functionName", getFunctionName())
            .toString();
    }
}
